//app.js
App({
  onLaunch: function () {
    wx.cloud.init({
      env: 'travel-5gwbph3495c70411' //云环境开发id
    })
    // 获取屏幕高度
    wx.getSystemInfo({
      success: (res) => {
        this.globalData.windowHeight = res.windowHeight
        this.globalData.model = res.model
      }
    })
  },
  globalData: {
    windowHeight: null,
    model: null
  }
})